<?php
// +----------------------------------------------------------------------
// | Description: 1
// +----------------------------------------------------------------------
// | Author: orchief
// +----------------------------------------------------------------------
// | Date: 2018-02-02 11:35:50
// +----------------------------------------------------------------------

namespace app\client\validate;

use think\Validate;

/**
 * 
 */
class ShopOrdersItems extends Validate
{
    protected $rule = array(
        'OrderId'        => 'require',
        'SkuId'        => 'require',
        'ProductId'        => 'require',
        'SalePrice'        => 'require',
        'ProductName'        => 'require',
        'ProductCode'        => 'require',
        'Weight'        => 'require',
        'ImgPath'        => 'require',
        'SKUContent'        => 'require',
    );
    protected $message = array(
        'OrderId.require'    => '请输入',
        'SkuId.require'    => '请输入规格id',
        'ProductId.require'    => '请输入商品id',
        'SalePrice.require'    => '请输入商品售价',
        'ProductName.require'    => '请输入商品名称',
        'ProductCode.require'    => '请输入商品货号',
        'Weight.require'    => '请输入商品重量',
        'ImgPath.require'    => '请输入订单商品图标',
        'SKUContent.require'    => '请输入商品规格 (json格式)',
    );
    protected $scene = [

    ];
}